package com.yunmang.entity;

import java.util.List;

/**
 * Created by ltt on 2017/3/23.
 */
public class LoginBean {

    private int code;
    private Object message;
    private ModelBean model;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public ModelBean getModel() {
        return model;
    }

    public void setModel(ModelBean model) {
        this.model = model;
    }

    public static class ModelBean {
        private int id;
        private String name;
        private String account;
        private int roleId;
        private int orgId;
        private Object orgName;
        private int bizOrgId;
        private Object bizOrgName;
        private OrgBean org;
        private BizOrgBean bizOrg;
        private List<EndOrgListBean> endOrgList;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public int getOrgId() {
            return orgId;
        }

        public void setOrgId(int orgId) {
            this.orgId = orgId;
        }

        public Object getOrgName() {
            return orgName;
        }

        public void setOrgName(Object orgName) {
            this.orgName = orgName;
        }

        public int getBizOrgId() {
            return bizOrgId;
        }

        public void setBizOrgId(int bizOrgId) {
            this.bizOrgId = bizOrgId;
        }

        public Object getBizOrgName() {
            return bizOrgName;
        }

        public void setBizOrgName(Object bizOrgName) {
            this.bizOrgName = bizOrgName;
        }

        public OrgBean getOrg() {
            return org;
        }

        public void setOrg(OrgBean org) {
            this.org = org;
        }

        public BizOrgBean getBizOrg() {
            return bizOrg;
        }

        public void setBizOrg(BizOrgBean bizOrg) {
            this.bizOrg = bizOrg;
        }

        public List<EndOrgListBean> getEndOrgList() {
            return endOrgList;
        }

        public void setEndOrgList(List<EndOrgListBean> endOrgList) {
            this.endOrgList = endOrgList;
        }

        public static class OrgBean {
            private int id;
            private String name;
            private String shortName;
            private int type;
            private String spelling;
            private String shortSpelling;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getShortName() {
                return shortName;
            }

            public void setShortName(String shortName) {
                this.shortName = shortName;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getSpelling() {
                return spelling;
            }

            public void setSpelling(String spelling) {
                this.spelling = spelling;
            }

            public String getShortSpelling() {
                return shortSpelling;
            }

            public void setShortSpelling(String shortSpelling) {
                this.shortSpelling = shortSpelling;
            }
        }

        public static class BizOrgBean {
            private int id;
            private String name;
            private String shortName;
            private int type;
            private String spelling;
            private String shortSpelling;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getShortName() {
                return shortName;
            }

            public void setShortName(String shortName) {
                this.shortName = shortName;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getSpelling() {
                return spelling;
            }

            public void setSpelling(String spelling) {
                this.spelling = spelling;
            }

            public String getShortSpelling() {
                return shortSpelling;
            }

            public void setShortSpelling(String shortSpelling) {
                this.shortSpelling = shortSpelling;
            }
        }

        public static class EndOrgListBean {
            private int id;
            private String name;
            private String shortName;
            private int type;
            private String spelling;
            private String shortSpelling;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getShortName() {
                return shortName;
            }

            public void setShortName(String shortName) {
                this.shortName = shortName;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getSpelling() {
                return spelling;
            }

            public void setSpelling(String spelling) {
                this.spelling = spelling;
            }

            public String getShortSpelling() {
                return shortSpelling;
            }

            public void setShortSpelling(String shortSpelling) {
                this.shortSpelling = shortSpelling;
            }
        }
    }
}
